﻿
using GCC.Container.Abstracts;

namespace GCC.Container.Comm.COM.Default
{
    /// <summary>
    /// 服务
    /// </summary>
    public class Server : AbsCommCOMServer<string>
    {
        public Server(string name, AbsGCCLogger logger) : base(name, logger)
        {
        }

        protected override AbsCommCOMClient<string> GetServer(string name)
        {
            return new Client(name, _logger);
        }

        protected override AbsCommCOMClient<string> GetServerClient(string name)
        {
            throw new NotImplementedException();
        }
    }
}
